package com.hxzon.netty.statistics.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hxzon.netty.statistics.dao.StatisticsClientDao;
import com.hxzon.netty.statistics.model.LoginDetail;
import com.hxzon.netty.statistics.service.StatisticsClientService;

@Service
public class StatisticsClientServiceImpl implements StatisticsClientService {

    @Resource
    private StatisticsClientDao statisticsClientDao;

    public List<LoginDetail> listLoginDetail() {
        return statisticsClientDao.listLoginDetail();
    }

    public void insertLoginDetail(LoginDetail loginDetail) {
        statisticsClientDao.insertLoginDetail(loginDetail);
    }

}
